<?php


//affichage du head en html, avec le css des liens
echo "
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.1//EN' 'http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'>

<head>
      <title>TERBank - La banque des experts</title>
      <meta http-equiv='content-type' content='text/html; charset=utf-8' />
      <link rel='stylesheet' href='css/1.css' type='text/css' media='screen,projection' />
</head>

<body>
      <div id='wrapper1'>
      <div id='wrapper2'>
      <div id='header'>
           <h1><a href='#'>TerBank</a><!--<span>Banque</span>--></h1>
           <ul id='nav'>
           <li><a href='index.php'>Accueil</a></li>
           <li><a href='index.php?p=contact'>Contact</a></li>
           <li><a href='index.php?p=aide'>Aide</a></li>
    ";
if ($_SESSION['droits']>0)  //si la variable est defini -> utilisateur loggue -> on peut le deco
{
echo "
<li><a href='index.php?p=logout'>Deconnexion</a></li>";
}
echo "
           </ul>
      </div>
      <div id='container'>
           <p class='description'>";
include_once("description.inc.php");
echo "
           </p>
           <div id='sidebar'>
           <h2>MENU</h2>

    ";
include_once("menu_connexion.inc.php");

?>
